﻿using System;

namespace SharpObjects.SearchEngine.Common.Indexing
{
    [Serializable]
    public class IndexField
    {
        public string Name { get; set; }
        public string Text { get; set; }
        public bool IsHtml { get; set; }
        public bool Analyze { get; set; }
        public bool StoreInIndex { get; set; }
        public bool BuildTermVector { get; set; }
        public bool BuildTermGroups { get; set; }

        public IndexField()
        {
            this.IsHtml = false;
            this.BuildTermGroups = false;
            this.BuildTermVector = false;
            this.Analyze = false;
            this.StoreInIndex = false;
        }
    }
}
